package com.atguigu.mapper;

import com.atguigu.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Author ChenYongSheng
 * Date 2025/9/29 16:20
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<User> selectEmailByName(String name);

    List<User> selectEmailList(IPage<User> page);
}
